package com.yike.user.service;

import com.yike.user.entity.AgentWithdrawalRecord;
import com.yike.user.param.AgentWithdrawalRecordPageParam;
import com.yike.common.base.BaseService;
import com.yike.common.pagination.Paging;

/**
 * 代理商提现记录表 服务类
 *
 * @author Sakura
 * @since 2024-09-23
 */
public interface AgentWithdrawalRecordService extends BaseService<AgentWithdrawalRecord> {

    /**
     * 保存
     *
     * @param agentWithdrawalRecord
     * @return
     * @throws Exception
     */
    boolean saveAgentWithdrawalRecord(AgentWithdrawalRecord agentWithdrawalRecord) throws Exception;

    /**
     * 修改
     *
     * @param agentWithdrawalRecord
     * @return
     * @throws Exception
     */
    boolean updateAgentWithdrawalRecord(AgentWithdrawalRecord agentWithdrawalRecord) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteAgentWithdrawalRecord(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param agentWithdrawalRecordPageParam
     * @return
     * @throws Exception
     */
    Paging<AgentWithdrawalRecord> getAgentWithdrawalRecordPageList(AgentWithdrawalRecordPageParam agentWithdrawalRecordPageParam) throws Exception;

}
